package com.smart.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import com.smart.common.annotation.Excel;
import lombok.Data;
import lombok.Builder;
import com.smart.common.core.domain.BaseEntity;

import lombok.*;

/**
 * 车辆分类对象 car_classify
 *
 * @author smart
 * @date 2025-01-14
 */
@Data
@Builder
@TableName("car_classify")
@AllArgsConstructor
@NoArgsConstructor
public class CarClassify{
private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @Schema(description ="主键")
    @TableId(type = IdType.AUTO)
    @TableField(value = "id",exist = true)
    private Long id;

    /** $column.columnComment */
    @Excel(name = "分类名称", readConverterExp = "$column.readConverterExp()")
    @Schema(description ="分类名称")
    @TableField(value = "class_name",exist = true)
    private String className;
}
